/* 
 * File:   GetCommand.h
 * Author: Bram
 *
 * Created on January 23, 2013, 8:30 PM
 */

#ifndef GETCOMMAND_H
#define	GETCOMMAND_H


#include "SendReceiveCommand.h"

class GetCommand : public SendReceiveCommand
{
public:
    GetCommand();
    GetCommand(const char *);
    GetCommand(const GetCommand& orig);
    virtual ~GetCommand();
    Command* createNew();
    bool isValid();
    
    void ExcecuteServerReceiveCommand(TcpSocket*, queue<Command *>& commandQueue);
    void ExcecuteServerSendCommand(TcpSocket*, queue<Command *>& commandQueue);
    
    void ExcecuteClientReceiveCommand(TcpSocket*, queue<Command *>& commandQueue);
    void ExcecuteClientSendCommand(TcpSocket*, queue<Command *>& commandQueue);
    
private:
    static GetCommand cInstance;

};

#endif	/* GETCOMMAND_H */

